home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 598 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  2.3 KB

  1. Path: iway.fr!usenet
  2. From: <bonnardv@pratique.fr>
  3. Newsgroups: comp.sys.mac.programmer,comp.sys.mac.programmer.help,comp.sys.mac.programmer.codewarrior,comp.lang.c,comp.lang.pascal.mac
  4. Subject: Re: Pascal or C++?
  5. Date: 7 Jan 1996 18:43:27 GMT
  6. Organization: Internet Way
  7. Message-ID: <4cp48f$62j@s3.iway.fr>
  8. References: <d7e_9512231058@linknet.ccinet.ab.ca> <dallas-3012950728570001@ppp31.atlantica.net> <jj10s-3112951318590001@port07.cornet.com>
  9. NNTP-Posting-Host: ts4-p27.dialup.iway.fr
  10. Mime-Version: 1.0
  11. Content-Type: text/plain; charset=us-ascii
  12. Content-Transfer-Encoding: 7bit
  13. X-Mailer: Mozilla 1.1N (Macintosh; I; 68K)
  14. X-URL: news:jj10s-3112951318590001@port07.cornet.com
  15.  
  16. jj10s@eworld.com (J. Voigt) wrote:
  17. >In article <dallas-3012950728570001@ppp31.atlantica.net>, dallas@az.com
  18. >(Brad & Angie) wrote:
  19. >
  20. >> Pascal or C++?
  21. >> So what is the answer?
  22. ..
  23. >For entry level programming, I'd recommend one of the following:
  24. >Logo, Basic, or HyperCard.d
  25. >
  26.  
  27. What's a good language to learn programming ?
  28.  
  29. People who learn programming want to take care of the algorithm, not of 
  30. the syntax or of the implementation.
  31.  
  32. It seem obvious for me that if they want to learn programming 
  33. *seriously* (not only to write 20-lines programs in Basic) they need a 
  34. structured language who support sub-programs (or procedures or 
  35. functions). The 'standard' Basic (the Basic instructions compatibles 
  36. with most implementations of Basic) doesn't support sub-programs; I know 
  37. two syntax for sub-programs in Basic, incompatibles with each-other !
  38.  
  39. That's the problem with Basic (and some other languages of the same 
  40. kind): lots of incompatibilities, most books/examples have a specific 
  41. (and not Macintosh) syntax (even if they express simple things). I 
  42. believe that it is far easier to write a program (portable or not) 
  43. longer then 100 lines in Pascal or C then in Basic.
  44.  
  45. For all these reasons, I think that languages able to express algorithms 
  46. with a natural syntax are Pascal, C, C++, Ada...
  47.  
  48. The problem with Pascal is that the ISO standard has disappeared under 
  49. the TurboPascal standard.
  50.  
  51. In my opinion, C is the best choice because it is portable, it has a 
  52. good ANSI library, it has type-checking, and C programs can easily be 
  53. converted to C++ (an Object Oriented Pascal exists, but C++ is really 
  54. better).
  55.  
  56. Valentin Bonnard
  57. bonnardv@pratique.fr
  58.  
  59.  
  60.